<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>新加支出</title>
  <!--[if lt IE 9]>
  <script src="libs/html5shiv.min.js"></script>
  <script src="libs/respond.min.js"></script>
  <![endif]-->
  <script src="libs/jquery-1.12.1.min.js"></script>
  <link href="libs/bootstrap-3.3.6/css/bootstrap.min.css" rel="stylesheet">
  <script src="libs/bootstrap-3.3.6/js/bootstrap.min.js"></script>
</head>
<body>
  <div class="container">
  	 <div class="page-header">
        <h2 class="text-center"><strong>账单</strong></h2>
      </div>
  </div>
 
  <div class="container">
  	<div class="row">
  		<div class="col-md-8">
  			<ul class="nav nav-pills" >
  				<li >
  					<a href="homepage.html"  >首页</a>
  				</li>
  				<li >
  					<a href="yonghu.html" >用户:<span id="yh"></span></a>
  				</li>
  				<li class="active">
  					<a href="#">新加支出</a>
  				</li>
  				<li >
  					<a href="inadd.html">新加收入</a>
  				</li>
  				<li >
  					<a href="sta.html">统计</a>
  				</li>
  				<li >
  					<a href="search.html">查询</a>
  				</li>
  			</ul>
  		</div>
  	</div>
  </div>
  
  <div class="container">
  	<div class="row">
  		<div class="col-md-12">
  			<hr>
  		</div>
  	</div>
  </div>
<form action="outadd.action" method="post">
 
<div class="container">
	<div class="row">
		<div class="col-md-4 col-md-offset-4">
			<h3>place</h3><h3><input name="place"></h3>
			<h3>money_out</h3><h3><input name="money_out"><br/></h3>
			<h3>kind</h3><h3><input name="kind"></h3>
			<h3>remark</h3><h3><input name="remark"><br></h3>
			
		</div>
		<div class="col-md-3 col-md-offset-4">
			<h3 ><input type="submit" value="提交" class="btn  btn-block" ><br></h3>
		</div>
	</div>
</div>

</form>
</body>
<script type="text/javascript">
$(function () {
	$.getJSON('users.action',function(res){
		console.log('nickname: ' + res);
		$('#yh').text(res.nickname);
	})	
})	
</script>

</html>